#coding=utf-8

import os 

for root, dirs, files in os.walk('/home/wwq/gopython'):
    open('mycdc.cdc','a').write("%s %s %s" % (root, dirs, files))
